namespace DesignPattern.Behavioral.Vistor
{
    public class VistorPattern
    {
        public static void Test()
        {
            var report = new HourlyEmployee().Accept(new SalariedPayReport());
            System.Console.WriteLine(report);
        }
    }
}